package com.fortune.vo.cOrderMgt;

import com.fortune.constants.enums.*;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * TODO c_order_base_info
 * @author ran
 *
 */
public class COrder {
    @ApiModelProperty(example="订单id")
    private String id;
    @ApiModelProperty(example="客户编号")
    private String number;
    @ApiModelProperty(example="客户名称")
    private String name;
    @ApiModelProperty(example="订单编号")
    private String no;
    @ApiModelProperty(example="开单日期")
    private Date createTime;
    @ApiModelProperty(example="开单方(JXS经销商,KH客户)")
    private OrderCreat createType;
    @ApiModelProperty(example="商品总金额")
    private BigDecimal pTotalPrice;
    @ApiModelProperty(example="押金总金额")
    private BigDecimal dTotalPrice;
    @ApiModelProperty(example="是否已付款")
    private OrderOther pay;
    @ApiModelProperty(example="是否批准发货")
    private Approve approve;
    @ApiModelProperty(example="送货司机")
    private String deliveryUser;
    @ApiModelProperty(example="是否已送达")
    private Delivery delivery;
    @ApiModelProperty(example="空箱是否已入库")
    private OrderOther boxIsIn;
    @ApiModelProperty(example="是否已交账")
    private AccountInfoEnum account;
    @ApiModelProperty(example="开单人")
    private String createUser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public OrderCreat getCreateType() {
        return createType;
    }

    public void setCreateType(OrderCreat createType) {
        this.createType = createType;
    }

    public BigDecimal getpTotalPrice() {
        return pTotalPrice;
    }

    public void setpTotalPrice(BigDecimal pTotalPrice) {
        this.pTotalPrice = pTotalPrice;
    }

    public BigDecimal getdTotalPrice() {
        return dTotalPrice;
    }

    public void setdTotalPrice(BigDecimal dTotalPrice) {
        this.dTotalPrice = dTotalPrice;
    }

    public OrderOther getPay() {
        return pay;
    }

    public void setPay(OrderOther pay) {
        this.pay = pay;
    }

    public Approve getApprove() {
        return approve;
    }

    public void setApprove(Approve approve) {
        this.approve = approve;
    }

    public String getDeliveryUser() {
        return deliveryUser;
    }

    public void setDeliveryUser(String deliveryUser) {
        this.deliveryUser = deliveryUser;
    }

    public Delivery getDelivery() {
        return delivery;
    }

    public void setDelivery(Delivery delivery) {
        this.delivery = delivery;
    }

    public OrderOther getBoxIsIn() {
        return boxIsIn;
    }

    public void setBoxIsIn(OrderOther boxIsIn) {
        this.boxIsIn = boxIsIn;
    }

    public AccountInfoEnum getAccount() {
        return account;
    }

    public void setAccount(AccountInfoEnum account) {
        this.account = account;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Override
    public String toString() {
        return "COrder{" +
                "id='" + id + '\'' +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", no='" + no + '\'' +
                ", createTime=" + createTime +
                ", createType=" + createType +
                ", pTotalPrice=" + pTotalPrice +
                ", dTotalPrice=" + dTotalPrice +
                ", pay=" + pay +
                ", approve=" + approve +
                ", deliveryUser='" + deliveryUser + '\'' +
                ", delivery=" + delivery +
                ", boxIsIn=" + boxIsIn +
                ", account=" + account +
                ", createUser='" + createUser + '\'' +
                '}';
    }
}
